﻿@model Employee 
@{ 
   ViewBag.Title = $"编辑 {Model.Name}"; 
} 
<h1>Edit @Model.Name</h1>  

<form asp-action="Edit" method="post"> 
   <div> 
      <label asp-for="Name">员工姓名</label> 
      <input asp-for="Name" /> 
      <span asp-validation-for = "Name"></span> 
   </div> 

   <div> 
      <input type = "submit" value = "保存" /> 
   </div> 
</form>

